# 用函数实现一个具有加, 减, 乘, 除, 整除, 取余, 开方的计算器
# my_calculator.py

def plus(a,b):
    return a + b
number = plus(2,1)
print(number)

def minus(a,b):
    return a - b
number = minus(6,2)
print(number)

def times(a,b):
    return a * b
number = times(5,6)
print(number)

def divided(a,b):
    return a / b
number = divided(9,3)
print(number)

def int_divided(a,b):
    return a // b
number = int_divided(10,3)
print(number)

def remainder_divided(a,b):
    return a % b
number = remainder_divided(11,3)
print(number)

def square_root(a):
    return a ** (1/2)
number = square_root(81)
print(int(number))
